package com.tju.resource.business.sys;

import com.tju.resource.result.Result;
import com.tju.resource.model.SysUser;
import com.tju.resource.tool.tool.ClientParameters;

public interface SysUserService {

    /*新增用户信息*/
    Result<Object> addUserInformation(SysUser sysUser);

    /*删除用户信息*/
    Result<Object> deleteUserInformation(SysUser sysUser);

    /*修改用户信息*/
    Result<Object> modifyUserInformation(SysUser sysUser);

    /*修改用户密码*/
    Result<Object> modifyUserPassword(SysUser sysUser);

    /*查询全部用户信息*/
    Result<Object> getPageUser(ClientParameters parameter);

    /*查询个人用户信息*/
    Result<Object> getPersonalInformation(SysUser sysUser);

    SysUser byName(String userName);
}
